package org.u2ml.app.domain;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;

@XStreamAlias("inheritance")
public class Inheritance extends ResponseData {

	@XStreamAsAttribute
	private Long parentId;
	
	@XStreamAsAttribute
	private Long childId;

	@Override
	public String toString() {
		return "Inheritance [parentId=" + parentId + ", childId=" + childId + "]";
	}
	
	public void setParentId(Long parentId) {
		this.parentId = parentId;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setChildId(Long childId) {
		this.childId = childId;
	}

	public Long getChildId() {
		return childId;
	}
	
	
}
